package com.hooya.fa.eu.biz.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hooya.fa.eu.api.bo.check.CheckProfitBO;
import com.hooya.fa.eu.api.bo.report.ProfitCheckBO;
import com.hooya.fa.eu.biz.dao.entity.ProfitCheck;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2024/1/10
 * @Version 1.0.0
 */
@Mapper
public interface ProfitCheckMapper extends BaseMapper<ProfitCheck> {

    void insertBatchSomeColumn(List<ProfitCheck> list);

    List<ProfitCheckBO> getListByDateAndBelongs(@Param("date") String date, @Param("belongs") String belongs);

    List<ProfitCheckBO> getListByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<CheckProfitBO> getCheckProfitList(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
